package com.csyf.manager.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取application.yml中boss配置
 */
@Component
@ConfigurationProperties(prefix = "boss")
public class BossProperties {

    private String bossName;

    private String bossPwd;

    public String getBossName() {
        return bossName;
    }

    public void setBossName(String bossName) {
        this.bossName = bossName;
    }

    public String getBossPwd() {
        return bossPwd;
    }

    public void setBossPwd(String bossPwd) {
        this.bossPwd = bossPwd;
    }
}
